package com.zj.guava;

public class AddSuppressingExceptionTest {

    public static void main(String[] args) {
        int[] result=new int[2];
        Throwable t=null;;
        try{
            result[0]=1/0;
        }catch (Exception e){
            t=e;
            throw e;
        }finally {
            try {
                int b = result[2];
            }catch (Exception e2){
                t.addSuppressed(e2);
            }
        }

    }

}
